package com.h3c.nem.dto.sap;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author chenyifan
 * @date 2022/7/5 14:16
 */
@Data
@XmlRootElement(name = "Envelope", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
@XmlAccessorType(XmlAccessType.FIELD)
public class SapXmlResponseDTO {

    @XmlElement(name = "Body", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
    private Body soapenvBody;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Body {

        @XmlElement(name = "GETBDRESULTResponse", namespace = "urn:DefaultNamespace")
        private GETBDRESULTResponse GETBDRESULTResponse;

        @Data
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class GETBDRESULTResponse {

            @XmlElement(name = "GETBDRESULTReturn")
            private String GETBDRESULTReturn;
        }
    }


}
